<%--
  Created by IntelliJ IDEA.
  User: 32650
  Date: 2023-05-06
  Time: 0:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ include file="check.jsp"%>
<%
    String message = request.getAttribute("message") == null ? "" : request.getAttribute("message").toString();
%>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登录</title>
    <link href="css/Login.css" rel="stylesheet">
</head>
<body>
<div class="login-container">
    <h1>登录</h1>
    <form action="Login" method="Post">
        <label for="username">用户名:</label>
        <input type="text" id="username" name="username">
        <label for="password">密码:</label>
        <input type="password" id="password" name="password">
        <label for="role">登录身份:</label>
        <select id="role" name="role">
            <option value="Customer">用户</option>
            <option value="admin">管理员</option>
            <option value="staff">工作人员</option>
            <option value="technician">维修人员</option>
        </select>
        <input type="submit" value="登录">
    </form>
    <a href="Registration.jsp">注册</a>
    <a href="Retrieve_password.jsp">忘记密码？</a>
</div>
</body>
</html>